package com.ruiyi.adrobot.beans;

/**
 * Created by Lenovo on 2017/5/10.
 */
public class TaskInfo {
    private String taskDetailId;
    private Integer fun;
    private Integer time; // 执行次数
    private Integer finishTime = 0; // 成功執行次數

    public Integer getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Integer finishTime) {
        this.finishTime = finishTime;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public TaskInfo() {
    }

    public TaskInfo(String taskDetailId, Integer fun, Integer time) {
        this.taskDetailId = taskDetailId;
        this.fun = fun;
        this.time = time;
    }

    public String getTaskDetailId() {
        return taskDetailId;
    }

    public void setTaskDetailId(String taskDetailId) {
        this.taskDetailId = taskDetailId;
    }

    public Integer getFun() {
        return fun;
    }

    public void setFun(Integer fun) {
        this.fun = fun;
    }

}
